package com.ctshk.rpc.booking.req.outside.approval;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.io.Serializable;

/**
 * <p>
 * 机票审批Req
 * </p>
 *
 * @author 胡广
 * @since 2021-02-23
 */
@Data
@ApiModel(value="SupplierOrderOutsideApprovalReq对象", description="团队预订审批请求")
public class SupplierOrderOutsideApprovalReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户Id")
    private Long userId;

    @NotNull(message = "审批实例ID不能为空")
    @ApiModelProperty(value = "审批实例Id")
    private Long approvalId;

    @NotNull(message = "相关业务ID不能为空")
    @ApiModelProperty(value = "相关业务id")
    private Long businessId;

    @NotNull(message = "审批状态不能为空")
    @ApiModelProperty(value = "审批状态（0：撤回，3：审批不通过，4：审批通过）")
    private Integer approvalStatus;

    @ApiModelProperty(value = "备注")
    private String comments;

    @ApiModelProperty(value = "额外参数")
    private String extendParams;
}
